<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="en-US" xmlns="http://www.w3.org/1999/xhtml" dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  <title>QeePHP 示例：URL伪静态</title>
<link rel='stylesheet' type='text/css' href='{:__PUBLIC__}/Css/common.css'>
<script src="{:__ROOT__}/../../QeePHP/Resource_/Js/Q.js"></script>
{$TheController->loadLang()}
{script}
{:App::U()}
var jsLang = Q.L( '我是Javascript语言包，我可以在外部Javascript 中使用！','Common' );
{/script}
</head>
<body>


    <div id="page">


        <div id="header" class="status4xx">
		<h1 id="logo"><a href="./" title="QeePHP"><img src="{:__PUBLIC__}/Image/logo.png" /></a>
		</h1>
		<!-- Navigation -->
		<div id="navigation">
			<ul>
			    <li><a class="active" href="./index.php"><span>首页</span></a></li>
				<li><a  href="{:__ROOT__}/../" title="返回"><span>返回</span></a></li>
			</ul>
		</div>
		<!-- end Navigation -->
		<div style="clear:both;height:10px;"></div>

        </div>

		<div id="content">
 <h2><lang>QeePHP 示例之：多语言支持</lang></h2>
<div class="title"><lang>给项目定义了三个语言包：简体中文、繁体中文和英文。</lang></div><br/>
 <div class="result">
{script}
document.write( jsLang );
{/script}
<br/>
{$sLang}
</div>
<lang>切换到</lang>：<a href="?l=zh-cn"><lang>简体中文</lang></a> | <a href="?l=zh-tw"><lang>繁体中文</lang></a> | <a href="?l=en-us"><lang>英文</lang></a>
 <div class="line"></div>
 <div class="title"><lang>示例源码</lang></div><br/>
 <div class="li_title"><lang>配置文件</lang>Config.php</div><br/>
 <div class="code"><php>highlight_file( APP_PATH.'/App/Config/Config.php')</php></div>
 <div class="li_title"><lang>控制器IndexControl类</lang></div><br/>
 <div class="code"><php>highlight_file( APP_PATH.'/App/Class/Controller/IndexController.class.php')</php></div>

<br/>
      <div id="footer">


        <p>&copy; 2010-2099 <a href="http://qeephp.114.ms/" title="QeePHP 官方网站" target="_blank">QeePHP</a></p>

      </div>

    </div>
</body>
</html>